<% String context = request.getContextPath();%>
<script src="<%=context%>/assets/js/bootstrap-datepicker.js"></script>
<script>
    $(function() {
        $('.datepicker').datepicker()
    });
</script>